Fix previousreachable.rebase column's foreign key constraint

It should have "on delete cascade" so that deleting/reverting a review
rebase removes the corresponding rows from previousreachable (and also
so that it doesn't crash because of violating the constraint.)