Replication stalling at unstable inverted repeats: Interplay between DNA hairpins and fork stabilizing proteins