Brazil ends Boeing 737 MAX ban, planes could fly by year-end