Attorney general says new law will improve residential foreclosure process in Maine