This is the ideal situation for Paul Ryan. Someone else takes the initiative and he immediately falls into place right behind them, taking credit for it as much as possible, but none of the responsibility. It’s called Leading from Behind, and he is very good at it. Which is why the voters in his home district send him back to Congress with 70+% margins.
Ryan is not trying to take credit for anything. Trump is accepting the ruling of the federal court and ending the USG's appeal of it. The payments by Obama were unconstitutional.