Toronto strips mayor of powers