Mayor Bill de Blasio on Friday took the extraordinary step of firing his embattled investigations commissioner, Mark G. Peters, the culmination of a fierce rivalry between the two powerful men. It was a rare and consequential action by a mayor to remove an investigations commissioner: The position is understood to come with a large degree of independence that allows impartial scrutiny of all areas of government, including the executive branch.