Attorney General Martha Coakley is suing the U.S. government to force it to extend a wide range of benefits to some 16,000 gay and lesbian couples legally married in Massachusetts.