Germany toughens approach on migrants as EU struggles for unity