The Boston school system is failing to adequately teach thousands of students who speak limited English and provide them with rigorous coursework, nearly five years after promising the US government it would overhaul programs to comply with civil rights laws, according to an ongoing federal review obtained by the Globe.