Erdogan slams EU for demanding changes to terror law