Fix replication guide on SSA statement

1. Propagate replication guides on SSA'd statements - this is an
existing defect
2. Test cases for propagation of replication guides on SSA calls