[master] Don't attempt to fit views to empty extents

This PR fixes a bug where calling `ol.View2D#fitExtent`, when called with the default empty extent, would result in the view's center being set to `[NaN, NaN]`, which, in turn, caused lots of breakage elsewhere.