Royals beat Brewers on bases-loaded walk in 11th