There is no way to undo a merge action. It would be best to avoid merging data in BQE CORE unless you are sure as it is an irreversible process.
If you lose some critical data due to merging of records such as projects, please consult CORE Support to see if they can restore your database to a previous state.