split delete and insert in seperate batches

since batch statement's order is not guaranteed. STUPID CASS DOC!!
Tested this by creating cron and at policies and table is getting properly updated
Tests are incorrect/incomplete. TBD