Fixes bug in federation provider's destroy logic

The flush method caused the create/destroy method to be called twice when the ensure property changed. I fixed this so that an error was not thrown when the non-indempotent destroy method was called twice when ensure => :absent. I have tested creation, modification, non-modification and destruction of the resource.