Metric Regular Maps and Regularity for Constrained Extremum Problems