Theresa May is insisting the Foreign Secretary is "doing good work" amid the fallout from his intervention over the UK's EU exit.