Federal court strikes down key part of federal law banning same-sex marriage