The First Minister was speaking after two people were killed in a car and knife attack outside a synagogue in Manchester.