Germany dismisses undersecretary who ordered investigation into academics for pro-Palestinian support