Membrane bioreactor wastewater treatment