maximumByMay

Safe version of maximumByEx. Returns Nothing instead of throwing an exception when encountering an empty monomorphic container.