Yes, Snape did deflect the spells that Minerva McGonagall aimed at him in the movie adaptation of Harry Potter and the Deathly Hallows. It is possible that he wanted to neutralize the threat by incapacitating the Carrows. Severus Snape was a very skilled wizard and knew how to deflect spells without them attacking anyone but he decided to do it anyway to protect Hogwarts from being attacked by the Carrows after he retreated.