Why do you want to remove anything from the .sai file? Why not convert it to .sam and then do your filtering?
I would convert it to .sam and not use the .sai files.
The .sai file is an intermediate file containing the suffix array indexes. Such file is afterwards translated into a SAM file.
The BWA paper may help you to understand how the mapping is done: