Fix applying action list from a group's bucket

Sending a packet either to a controller or out a port is done while
applying an action list.
(Motivated by #218).