Congress-RJD alliance survives after allies resolve seat sharing tussle