EU countries back legal action against UK over post-Brexit grace period extension