Reshaping a dataframe by splitting list to append rows