Got rid of oil spilt by sailor on hut (9)
I believe the answer is:
abolished
'got rid of' is the definition.
('abolish' can be a synonym of 'get rid of')
'oil spilt by sailor on hut' is the wordplay.
'spilt' indicates anagramming the letters.
'by' is a charade indicator (letters next to each other).
'sailor' becomes 'ab' (abbreviation for able seaman).
'on' says to put letters next to each other.
'hut' becomes 'shed' (hut in a garden).
'oil' is an anagram of 'oli'.
'oli' after 'ab' is 'aboli'.
'aboli'+'shed'='ABOLISHED'
(Other definitions for abolished that I've seen before include "Got rid of" , "Done away with" .)