Another solution is donot allow wl tickets give only confirm and rac ticets in general and rl quota , stop allowing cancellation of ticket before one day. And in the tatkal quota merge all vacant seats (if there is any vacancy after confirming all rac tickets and in tatkal quota stopnallowing refund in confirm tatkal tickets