Obama to sign repeal of military gay ban Wednesday