recovery: prepare for merge split
recovery: split merge-specific parts to recovery_merge

This will allow easy integration of recovery_dc