Panama dismisses two workers, accepts resignation of third