Police nab mastermind of Nabha Jailbreak case