Add region-based findmin and findmax (closes #6716)
Merge pull request #6894 from JuliaLang/teh/findminmax

Add region-based findmin and findmax (closes #6716)