Justice Dept. to extend benefits to same-sex couples