The PM is set to reverse a decision by Boris Johnson's government to leave the EU Erasmus scheme for university students.