Revise the paper so that another good referee won't see the same issues. Fix those that can be fixed. Ones that don't really matter either ignore or explain why they don't matter, depending on whether a reasonable referee might mistakenly see the same issues.