Obama nears deadline on gay marriage decision