True, that is a b**** move by Pyro. However, the director/screenwriters did right, in my opinion, because they remained true to the comic book storyline, regarding Pyro's actions.
I agree that Iceman's powers should have gotten more screenplay, but, then again, he isn't a full fledged "X-Man"...