How would her healing, the miracle, be attributed to the pope if all he did was intercede? He didn't heal her. He just asked on her behalf. If I prayed for you and you were healed, would I be the one credited for the miracle?
Because it was through his intercession that she was healed.