In this case passenger needs to file an online TDR request for cancellation of the partially confirmed ticket. Indian Railways will process a refund for all the passengers after deduction of standard cancellation charges (TDR can be filed through this link https://goibibo.typeform.com/to/YdKv2g).