Transient eddy formation around headlands