Devonport Mayor Steve Martin ruled eligible to sit in Senate