Arsenal came from behind to claim a hard-fought victory against their city rivals and book a place in the final.