Torus Formation in Neutron Star Mergers and GRB 050509b