NEW DELHI — Four men convicted of a brutal gang rape were sentenced Friday to die by hanging, a decision met with satisfaction on the part of the victim’s parents and triumphant cheers from the crowd outside the courthouse, where some held up makeshift nooses and pictures of hanging bodies.