Heavy gunfire in Guinea-Bissau as minister is freed from detention