Internships will only go to students from poorer families in a push to make Whitehall more working class.