Untying the Reversal Curse via Bidirectional Language Model Editing