You cannot roll back already committed data (after each block - based on the completion policy - your data until the spring-batch metadata is executed), so you cannot automatically roll back all the data stored in step 1.
Perhaps you can use this syntax:
<b:job id="batch" parent="Batch">
<b:step id="step1" parent="Step1" next="step2"/>
<b:step id="step2" parent="Step2">
<next on="ROLLBACK_ALL" to="deleteDataSavedByStep1Step" />
<end on="*" />
</b:step>
</b:job>
, , 1, , deleteDataSavedByStep1Step.