Hernanes regrets spot-kick error