If there's an imbalance between the strength of the hamstrings you definitely need to work on that. But before you decide you need to stay off the bike for a while, try lowering your saddle a fraction. Just a very few millimetres. If that doesn't work, I don't know what to suggest.