Royals rally with 2 in 9th to beat Brewers 4-3