fixes to maxres/mss

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>