Overhaul of alimony law wins praise