Substitute Riyad Mahrez fired Man City to a 1-0 win at Chelsea to sit five points behind Premier League leaders Arsenal.